﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Engine.Events {
    import flash.events.*;
    import Engine.Transactions.*;

    public class TransactionEvent extends Event {

        public static const COMPLETED:String = "completed";
        public static const QUEUE_LIMIT_EXCEEDED:String = "exceeded_max_queued";
        public static const QUEUE_LIMIT_NORMAL:String = "queue_normal";
        public static const VERSION_MISMATCH:String = "version_mismatch";
        public static const ADDED:String = "added";
        public static const DISPATCHED:String = "dispatched";
        public static const BATCH_SEND:String = "batch_send";
        public static const INACTIVE:String = "inactive";
        public static const OUT_OF_SYNC:String = "out_of_sync";
        public static const RETRY_SUCCESS:String = "retry_success";

        public var transaction:Transaction;

        public function TransactionEvent(_arg1:String, _arg2:Transaction=null):void{
            this.transaction = _arg2;
            super(_arg1);
        }
    }
}//package Engine.Events 
